package com.woniu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author xiaohuang
 * @since 2022-11-16
 */
@Getter
@Setter
@TableName("c_shop")
@ApiModel(value = "Shop对象")
public class Shop implements Serializable {

  private static final long serialVersionUID = 1L;

  @ApiModelProperty("主键，自增")
  @TableId(value = "id", type = IdType.AUTO)
  private Integer id;

  @ApiModelProperty("店主id")
  private Integer userId;

  @ApiModelProperty("联系电话")
  private String tel;

  @ApiModelProperty("邮箱")
  private String email;

  @ApiModelProperty("门店名称")
  private String shopName;

  @ApiModelProperty("门店地址")
  private String shopAddress;

  @ApiModelProperty("门店介绍")
  private String introduce;

  @ApiModelProperty("营业资格证编号")
  private String number;

  @ApiModelProperty("资格证图片")
  private String certificateImg;

  @ApiModelProperty("门店图片")
  private String shopImg;

  @ApiModelProperty("门店状态 0：正常 1：未上架 2：封号")
  private Integer status;

  @ApiModelProperty("封店时间")
  private Date closingTime;

  @ApiModelProperty("门店信誉分")
  private Integer score;
}
